<?php $this->load->view('header'); ?>
<?php $this->load->view('cuerpo'); ?>
<section id="dt_example">
	<div id="container">
		<table border="1" class="display" id="reporte_proveedor">
			<thead>
				<tr>
					<th colspan="7" style="text-align: justify;"></th>
				</tr>
				<tr>
					<td>PROVEEDOR</td>
					<td>FECHA</td>
					<td>N° SOLICITUD</td>
					<td>TALLER</td>
					<td>MARCA</td>
					<td>MODELO</td>
					<td>CANTIDAD DE REPUESTOS</td>
					<td>TARIFA APLICADA</td>
					<td>MONTO</td>
				</tr>
			</thead>
			<tbody>
				<?php foreach ($proveedor as $p){ ?>
				<tr>
					<td><?php echo $p->proveedor ?></td>
					<td><?php echo date("d/m/Y - H:m:s", strtotime($p->fecha)) ?></td>
					<td><?php echo $p->id_soli ?></td>
					<td><?php echo $p->taller ?></td>
					<td><?php echo $p->marca ?></td>
					<td><?php echo $p->modelo ?></td>
					<td><?php echo $p->cantidad ?></td>
					<td><?php echo $p->tarifario ?></td>
					<td><?php echo $p->total ?></td>
				</tr>
				<?php }; ?>
			</tbody>
		</table>
	</div>
</section>
<?php $this->load->view('footer'); ?>